let a = require('./a')
import './css/index.css'
import './less/indexless.less'
// import './scss/index.scss'
import 'bootstrap/dist/css/bootstrap.css'
// console.log(a)
console.log(999)
setTimeout(() => {
    console.log('1s后执行')
})
class Dog {
    name = 'dahuang'
    static color = 'yellow'
}
let d = new Dog()
// console.dir(d)
// console.dir(Dog)

function* fn() {
    yield 1
    yield 2
    return 3
}
let newFn = fn()
console.log(newFn.next()) //1
console.log(newFn.next()) //2
console.log(newFn.next()) //3
console.log(newFn.next()) //undefined

import '@babel/polyfill'

let str = '123'
console.log(str.includes('2'))